<?php /* Smarty version 2.6.26, created on 2010-05-12 14:24:37
         compiled from broadcast.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="webapps/styles/cssapp.css" />
<link type="text/css" rel="stylesheet" href="webapps/styles/table_dis.css" />
<title><?php echo $this->_tpl_vars['title']; ?>
</title>
</head>

<body>
<!--定义主容器-->
<div id="container">
    <!--头部-->
<div id="header">
      <!--logo-->
      <div class="logo"><img alt="先锋教学平台" src="webapps/images/logo.png" height="50px" /></div>
      
      <!--导航-->
      <div id="navigation">
          <ul>
              <li><a href="index.php"><span>&nbsp;&nbsp;首&nbsp;&nbsp;&nbsp;&nbsp;页&nbsp;&nbsp;</span></a></li>
              <li><a href="index.php?controller=live"><span>教学直播</span></a></li>
              <li><a href="index.php?controller=broadcast"><span>教学点播</span></a></li>
              <li><a href="index.php?controller=search"><span>视频检索</span></a></li>
              <li><a href="index.php?controller=feedback"><span>意见反馈</span></a></li>
          </ul>
      </div>
    </div>
    
    <!--视频列表内容-->
    <table width="100%" cellpadding="1" cellspacing="1" border="0" id="tab">
      <tr>
        <th colspan="7">视频信息</th>
      </tr>
      <tr>
        <td width="9%">视频编号</td>
        <td width="13%">视频类别</td>
        <td width="11%">视频标题</td>
        <td width="25%">内容简介</td>
        <td width="14%">视频来源</td>
        <td width="15%">上传时间</td>
        <td width="13%">&nbsp;</td>
      </tr>
      <?php unset($this->_sections['tmp_res_broadcast']);
$this->_sections['tmp_res_broadcast']['name'] = 'tmp_res_broadcast';
$this->_sections['tmp_res_broadcast']['loop'] = is_array($_loop=$this->_tpl_vars['res_broadcast']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['tmp_res_broadcast']['show'] = true;
$this->_sections['tmp_res_broadcast']['max'] = $this->_sections['tmp_res_broadcast']['loop'];
$this->_sections['tmp_res_broadcast']['step'] = 1;
$this->_sections['tmp_res_broadcast']['start'] = $this->_sections['tmp_res_broadcast']['step'] > 0 ? 0 : $this->_sections['tmp_res_broadcast']['loop']-1;
if ($this->_sections['tmp_res_broadcast']['show']) {
    $this->_sections['tmp_res_broadcast']['total'] = $this->_sections['tmp_res_broadcast']['loop'];
    if ($this->_sections['tmp_res_broadcast']['total'] == 0)
        $this->_sections['tmp_res_broadcast']['show'] = false;
} else
    $this->_sections['tmp_res_broadcast']['total'] = 0;
if ($this->_sections['tmp_res_broadcast']['show']):

            for ($this->_sections['tmp_res_broadcast']['index'] = $this->_sections['tmp_res_broadcast']['start'], $this->_sections['tmp_res_broadcast']['iteration'] = 1;
                 $this->_sections['tmp_res_broadcast']['iteration'] <= $this->_sections['tmp_res_broadcast']['total'];
                 $this->_sections['tmp_res_broadcast']['index'] += $this->_sections['tmp_res_broadcast']['step'], $this->_sections['tmp_res_broadcast']['iteration']++):
$this->_sections['tmp_res_broadcast']['rownum'] = $this->_sections['tmp_res_broadcast']['iteration'];
$this->_sections['tmp_res_broadcast']['index_prev'] = $this->_sections['tmp_res_broadcast']['index'] - $this->_sections['tmp_res_broadcast']['step'];
$this->_sections['tmp_res_broadcast']['index_next'] = $this->_sections['tmp_res_broadcast']['index'] + $this->_sections['tmp_res_broadcast']['step'];
$this->_sections['tmp_res_broadcast']['first']      = ($this->_sections['tmp_res_broadcast']['iteration'] == 1);
$this->_sections['tmp_res_broadcast']['last']       = ($this->_sections['tmp_res_broadcast']['iteration'] == $this->_sections['tmp_res_broadcast']['total']);
?>
      <tr>
        <td><?php echo $this->_tpl_vars['res_broadcast'][$this->_sections['tmp_res_broadcast']['index']]['id']; ?>
</td>
        <td><?php echo $this->_tpl_vars['res_broadcast'][$this->_sections['tmp_res_broadcast']['index']]['category']; ?>
</td>
        <td><?php echo $this->_tpl_vars['res_broadcast'][$this->_sections['tmp_res_broadcast']['index']]['title']; ?>
</td>
        <td><?php echo $this->_tpl_vars['res_broadcast'][$this->_sections['tmp_res_broadcast']['index']]['content']; ?>
</td>
        <td><?php echo $this->_tpl_vars['res_broadcast'][$this->_sections['tmp_res_broadcast']['index']]['souce']; ?>
</td>
        <td><?php echo $this->_tpl_vars['res_broadcast'][$this->_sections['tmp_res_broadcast']['index']]['uploadtime']; ?>
</td>
        <td><a href="index.php?controller=player&id=<?php echo $this->_tpl_vars['res_broadcast'][$this->_sections['tmp_res_broadcast']['index']]['id']; ?>
" title="播放" target="_blank">播放</a></td>
      </tr>
      <?php endfor; endif; ?>
      <tr>
        <td colspan="7" style="text-align:right; padding-right:20px;"><?php echo $this->_tpl_vars['html_page']; ?>
</td>
      </tr>
    </table>
    <div class="clear"></div>
    
    <!--footer-->
    <div id="footer" class="radius">
        <a href="#">关于系统</a> | <a href="#">服务条款</a> | <a href="#">版权所有先锋互联网传媒学院</a> <span style="font-family:Arial; font-size:12px;">Copyright &copy; 2010 Aheadedu. All Rights Reserved</span>
    </div>
    
</div>
</body>
</html>